package com.lxw.study.creational.prototype;

public class Client {
    public static void main(String[] args) {
        Product product = new Product("手机", "小米旗舰店", "小米");
        Product note12 = product.copy();
        note12.setName("红米Note12");
        note12.setPrice(599.0);
        note12.showDetails();
        Product pro13 = product.copy();
        pro13.setName("小米Pro13");
        pro13.setPrice(1499.0);
        pro13.showDetails();

    }
}
